@import '@delon/theme/index';

:host ::ng-deep {
  .main {
    display: flex;
    padding-top: 12px;
  }

  .left {
    min-width: 310px;
    max-width: 448px;
  }

  .right {
    flex: 1;
    padding-left: 104px;

    .avatar {
      overflow: hidden;
      width: 144px;
      height: 144px;
      margin-bottom: 12px;

      &__title {
        height: 22px;
        margin-bottom: 8px;
        font-size: @font-size-base;
        line-height: 22px;
        color: @heading-color;
      }

      img {
        width: 100%;
      }

      &__btn {
        width: 144px;
        text-align: center;
      }
    }
  }

  @media screen and (max-width: @mobile-max) {
    flex-direction: column-reverse;

    .right {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 448px;
      padding: 20px;

      .avatar {
        &__title {
          display: none;
        }
      }
    }
  }
}

[data-theme='dark'] {
  :host ::ng-deep {
    .right .avatar {
      &__title {
        color: rgb(255 255 255 / 65%);
      }
    }
  }
}
